package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {

    @RequestMapping("getuser")
    public String getUser() {
        System.out.println("do getuser");
        return "get user";
    }

    @RequestMapping("deluser")
    public String delUser() {
        return "del user";
    }

    @RequestMapping("reg")
    public String delReg() {
        System.out.println("do reg");

        return "do reg";
    }





}
